<div id="searchResults">
   {if $count eq 0}
   	<p>No Results Found</p>
   {else}
      <div id="numResults">
   	  <h2>Returned {$count} results</h2>
   	</div>
   	<div id="resultContainer">
      	{section name=i loop=$parks}
         	<div id="resultContent">
            	<a class="parkLinks" href="parkdetails.php?id={$parks[i].id}">
					   <img class="parkIcon" src="images/{$parks[i].icon}" width="50" height="50"/>
                  <div id="resultName">
                     <h2>{$parks[i].name}</h2>
                     <p>({$parks[i].type})</p>
                     <p>{$parks[i].address}, {$parks[i].subname}, {$parks[i].postcode}</p>
               	</div>

               	<br/>
               </a>
         	</div>
      	{/section}
      </div>
      <p class="resultNav">
   		{if $prevpage gt 0}
   		 
   			<a class="next" href="findscript.php?name={$name}&type={$type}&postcode={$postcode}&region={$region}&page={$prevpage}">Prev Page</a> | 
   		{/if}
   
   		{if count($parks) eq 10}
   			<a class="prev" href="findscript.php?name={$name}&type={$type}&postcode={$postcode}&region={$region}&page={$nextpage}">Next Page</a>
   		{/if}
	</p>
   {/if}
</div>